package com.dw.etl.core.bean.model;

import java.io.Serializable;
import java.util.Date;

public class MdMedTb implements Serializable {

	private static final long serialVersionUID = 1L;

	private String na;

	private String sdTbca;

	private String idUseCre;

	private String naUseCre;

	private String des;

	private String idTb;

	private String naTbca;

	private String idUseCheck;

	private String naUseCheck;

	private Date dtCheck;

	private Date dtSysCre;

	private Date dtSysModi;

	private String cd;

	private Boolean fgAct;

	public String getIdTb() {
	    return idTb;
	}

	public void setIdTb(String idTb) {
	    this.idTb = idTb;
	}

	public String getCd() {
	    return cd;
	}

	public void setCd(String cd) {
	    this.cd = cd;
	}

	public String getNa() {
	    return na;
	}

	public void setNa(String na) {
	    this.na = na;
	}

	public String getSdTbca() {
	    return sdTbca;
	}

	public void setSdTbca(String sdTbca) {
	    this.sdTbca = sdTbca;
	}

	public String getNaTbca() {
	    return naTbca;
	}

	public void setNaTbca(String naTbca) {
	    this.naTbca = naTbca;
	}

	public String getDes() {
	    return des;
	}

	public void setDes(String des) {
	    this.des = des;
	}

	public String getIdUseCre() {
	    return idUseCre;
	}

	public void setIdUseCre(String idUseCre) {
	    this.idUseCre = idUseCre;
	}

	public String getNaUseCre() {
	    return naUseCre;
	}

	public void setNaUseCre(String naUseCre) {
	    this.naUseCre = naUseCre;
	}

	public String getIdUseCheck() {
	    return idUseCheck;
	}

	public void setIdUseCheck(String idUseCheck) {
	    this.idUseCheck = idUseCheck;
	}

	public String getNaUseCheck() {
	    return naUseCheck;
	}

	public void setNaUseCheck(String naUseCheck) {
	    this.naUseCheck = naUseCheck;
	}

	public Date getDtCheck() {
	    return dtCheck;
	}

	public void setDtCheck(Date dtCheck) {
	    this.dtCheck = dtCheck;
	}

	public Boolean getFgAct() {
	    return fgAct;
	}

	public void setFgAct(Boolean fgAct) {
	    this.fgAct = fgAct;
	}

	public Date getDtSysCre() {
	    return dtSysCre;
	}

	public void setDtSysCre(Date dtSysCre) {
	    this.dtSysCre = dtSysCre;
	}

	public Date getDtSysModi() {
	    return dtSysModi;
	}

	public void setDtSysModi(Date dtSysModi) {
	    this.dtSysModi = dtSysModi;
	}

	@Override
	public boolean equals(Object that) {
	    if (this == that) {
	        return true;
	    }
	    if (that == null) {
	        return false;
	    }
	    if (getClass() != that.getClass()) {
	        return false;
	    }
	    MdMedTb other = (MdMedTb) that;
	    return (this.getIdTb() == null ? other.getIdTb() == null : this.getIdTb().equals(other.getIdTb())) && (this.getCd() == null ? other.getCd() == null : this.getCd().equals(other.getCd())) && (this.getNa() == null ? other.getNa() == null : this.getNa().equals(other.getNa())) && (this.getSdTbca() == null ? other.getSdTbca() == null : this.getSdTbca().equals(other.getSdTbca())) && (this.getNaTbca() == null ? other.getNaTbca() == null : this.getNaTbca().equals(other.getNaTbca())) && (this.getDes() == null ? other.getDes() == null : this.getDes().equals(other.getDes())) && (this.getIdUseCre() == null ? other.getIdUseCre() == null : this.getIdUseCre().equals(other.getIdUseCre())) && (this.getNaUseCre() == null ? other.getNaUseCre() == null : this.getNaUseCre().equals(other.getNaUseCre())) && (this.getIdUseCheck() == null ? other.getIdUseCheck() == null : this.getIdUseCheck().equals(other.getIdUseCheck())) && (this.getNaUseCheck() == null ? other.getNaUseCheck() == null : this.getNaUseCheck().equals(other.getNaUseCheck())) && (this.getDtCheck() == null ? other.getDtCheck() == null : this.getDtCheck().equals(other.getDtCheck())) && (this.getFgAct() == null ? other.getFgAct() == null : this.getFgAct().equals(other.getFgAct())) && (this.getDtSysCre() == null ? other.getDtSysCre() == null : this.getDtSysCre().equals(other.getDtSysCre())) && (this.getDtSysModi() == null ? other.getDtSysModi() == null : this.getDtSysModi().equals(other.getDtSysModi()));
	}

	@Override
	public int hashCode() {
	    final int prime = 31;
	    int result = 1;
	    result = prime * result + ((getIdTb() == null) ? 0 : getIdTb().hashCode());
	    result = prime * result + ((getCd() == null) ? 0 : getCd().hashCode());
	    result = prime * result + ((getNa() == null) ? 0 : getNa().hashCode());
	    result = prime * result + ((getSdTbca() == null) ? 0 : getSdTbca().hashCode());
	    result = prime * result + ((getNaTbca() == null) ? 0 : getNaTbca().hashCode());
	    result = prime * result + ((getDes() == null) ? 0 : getDes().hashCode());
	    result = prime * result + ((getIdUseCre() == null) ? 0 : getIdUseCre().hashCode());
	    result = prime * result + ((getNaUseCre() == null) ? 0 : getNaUseCre().hashCode());
	    result = prime * result + ((getIdUseCheck() == null) ? 0 : getIdUseCheck().hashCode());
	    result = prime * result + ((getNaUseCheck() == null) ? 0 : getNaUseCheck().hashCode());
	    result = prime * result + ((getDtCheck() == null) ? 0 : getDtCheck().hashCode());
	    result = prime * result + ((getFgAct() == null) ? 0 : getFgAct().hashCode());
	    result = prime * result + ((getDtSysCre() == null) ? 0 : getDtSysCre().hashCode());
	    result = prime * result + ((getDtSysModi() == null) ? 0 : getDtSysModi().hashCode());
	    return result;
	}

	@Override
	public String toString() {
	    StringBuilder sb = new StringBuilder();
	    sb.append(getClass().getSimpleName());
	    sb.append(" [");
	    sb.append("Hash = ").append(hashCode());
	    sb.append(", serialVersionUID=").append(serialVersionUID);
	    sb.append(", idTb=").append(idTb);
	    sb.append(", cd=").append(cd);
	    sb.append(", na=").append(na);
	    sb.append(", sdTbca=").append(sdTbca);
	    sb.append(", naTbca=").append(naTbca);
	    sb.append(", des=").append(des);
	    sb.append(", idUseCre=").append(idUseCre);
	    sb.append(", naUseCre=").append(naUseCre);
	    sb.append(", idUseCheck=").append(idUseCheck);
	    sb.append(", naUseCheck=").append(naUseCheck);
	    sb.append(", dtCheck=").append(dtCheck);
	    sb.append(", fgAct=").append(fgAct);
	    sb.append(", dtSysCre=").append(dtSysCre);
	    sb.append(", dtSysModi=").append(dtSysModi);
	    sb.append("]");
	    return sb.toString();
	}


}